package com.cjj.service;

import com.cjj.vo.MentalityTestVo;
import com.cjj.vo.TMentalityVo;
import com.github.pagehelper.PageInfo;
import com.guigu.pojo.TMember;
import com.guigu.pojo.TMentalityTest;
import com.guigu.viwe.PageVo;

import java.util.List;
import java.util.Map;

public interface TMentalityService {
//    分页查询
    PageInfo<TMentalityVo> queryMentality(PageVo<TMentalityVo> pageVo);

//    查询是否以经体检过
    TMentalityVo queryTMentalityIsNull(String fileName);
//查询所有问题种类
    List<MentalityTestVo> queryOptions();


    int addMentality(Map map);
    // 查询需要修改的心理评估
    TMember showUpdateRow(String memberId);
    //修改心理评估
    int updateMentality(Map map);
    //添加人群分类
    int classification(String tmemberId);
}
